<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="dfareporting_v3_3.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_3.campaigns.html">campaigns</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Gets one campaign by ID.</p>
<p class="toc_element">
  <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new campaign.</p>
<p class="toc_element">
  <code><a href="#list">list(profileId, advertiserGroupIds=None, advertiserIds=None, archived=None, atLeastOneOptimizationActivity=None, excludedIds=None, ids=None, maxResults=None, overriddenEventTagId=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of campaigns, possibly filtered. This method supports paging.</p>
<p class="toc_element">
  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
  <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing campaign. This method supports patch semantics.</p>
<p class="toc_element">
  <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing campaign.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
  <pre>Gets one campaign by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Campaign ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
  <pre>Inserts a new campaign.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(profileId, advertiserGroupIds=None, advertiserIds=None, archived=None, atLeastOneOptimizationActivity=None, excludedIds=None, ids=None, maxResults=None, overriddenEventTagId=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, x__xgafv=None)</code>
  <pre>Retrieves a list of campaigns, possibly filtered. This method supports paging.

Args:
  profileId: string, User profile ID associated with this request. (required)
  advertiserGroupIds: string, Select only campaigns whose advertisers belong to these advertiser groups. (repeated)
  advertiserIds: string, Select only campaigns that belong to these advertisers. (repeated)
  archived: boolean, Select only archived campaigns. Don&#x27;t set this field to select both archived and non-archived campaigns.
  atLeastOneOptimizationActivity: boolean, Select only campaigns that have at least one optimization activity.
  excludedIds: string, Exclude campaigns with these IDs. (repeated)
  ids: string, Select only campaigns with these IDs. (repeated)
  maxResults: integer, Maximum number of results to return.
  overriddenEventTagId: string, Select only campaigns that have overridden this event tag ID.
  pageToken: string, Value of the nextPageToken from the previous result page.
  searchString: string, Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, &quot;campaign*2015&quot; will return campaigns with names like &quot;campaign June 2015&quot;, &quot;campaign April 2015&quot;, or simply &quot;campaign 2015&quot;. Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of &quot;campaign&quot; will match campaigns with name &quot;my campaign&quot;, &quot;campaign 2015&quot;, or simply &quot;campaign&quot;.
  sortField: string, Field by which to sort the list.
    Allowed values
      ID - 
      NAME - 
  sortOrder: string, Order of sorted results.
    Allowed values
      ASCENDING - 
      DESCENDING - 
  subaccountId: string, Select only campaigns that belong to this subaccount.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Campaign List Response
  &quot;campaigns&quot;: [ # Campaign collection.
    { # Contains properties of a Campaign Manager campaign.
      &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
      &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
        &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
        &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
        &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
        &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
      },
      &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
        { # Creative optimization settings.
          &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
          &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
          &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
            { # Creative optimization activity.
              &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
              &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
                &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
                &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
                &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
                &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
                &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
                &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
              },
              &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
            },
          ],
          &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
        },
      ],
      &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
      &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
      &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;archived&quot;: True or False, # Whether this campaign has been archived.
      &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
        { # Audience Segment Group.
          &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
            { # Audience Segment.
              &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
              &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
              &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
            },
          ],
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
      &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
        &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
        &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
      },
      &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
      &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
        &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
      },
      &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
        &quot;A String&quot;,
      ],
      &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
        &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
        &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
        &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
          { # Creative optimization activity.
            &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
            &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
              &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
              &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
              &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
              &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
              &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
              &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
            },
            &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
          },
        ],
        &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
      },
      &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
        &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
        &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
      },
      &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
      &quot;endDate&quot;: &quot;A String&quot;,
      &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
        { # Event tag override information.
          &quot;enabled&quot;: True or False, # Whether this override is enabled.
          &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
        },
      ],
      &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
      &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
      &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
      &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
        &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
      },
      &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
      &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
      &quot;startDate&quot;: &quot;A String&quot;,
      &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
      &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
        &quot;A String&quot;,
      ],
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaignsListResponse&quot;.
  &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
}</pre>
</div>

<div class="method">
    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
  <pre>Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call &#x27;execute()&#x27; on to request the next
  page. Returns None if there are no more items in the collection.
    </pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
  <pre>Updates an existing campaign. This method supports patch semantics.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Campaign ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}</pre>
</div>

<div class="method">
    <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
  <pre>Updates an existing campaign.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of a Campaign Manager campaign.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this campaign. This is a read-only field that can be left blank.
  &quot;adBlockingConfiguration&quot;: { # Campaign ad blocking settings. # Ad blocking settings for this campaign.
    &quot;clickThroughUrl&quot;: &quot;A String&quot;, # Click-through URL used by brand-neutral ads. This is a required field when overrideClickThroughUrl is set to true.
    &quot;creativeBundleId&quot;: &quot;A String&quot;, # ID of a creative bundle to use for this campaign. If set, brand-neutral ads will select creatives from this bundle. Otherwise, a default transparent pixel will be used.
    &quot;enabled&quot;: True or False, # Whether this campaign has enabled ad blocking. When true, ad blocking is enabled for placements in the campaign, but this may be overridden by site and placement settings. When false, ad blocking is disabled for all placements under the campaign, regardless of site and placement settings.
    &quot;overrideClickThroughUrl&quot;: True or False, # Whether the brand-neutral ad&#x27;s click-through URL comes from the campaign&#x27;s creative bundle or the override URL. Must be set to true if ad blocking is enabled and no creative bundle is configured.
  },
  &quot;additionalCreativeOptimizationConfigurations&quot;: [ # Additional creative optimization configurations for the campaign.
    { # Creative optimization settings.
      &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
      &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
      &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
        { # Creative optimization activity.
          &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
          &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
            &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
            &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
            &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
            &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
            &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
            &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
          },
          &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
        },
      ],
      &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
    },
  ],
  &quot;advertiserGroupId&quot;: &quot;A String&quot;, # Advertiser group ID of the associated advertiser.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this campaign. This is a required field.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;archived&quot;: True or False, # Whether this campaign has been archived.
  &quot;audienceSegmentGroups&quot;: [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
    { # Audience Segment Group.
      &quot;audienceSegments&quot;: [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
        { # Audience Segment.
          &quot;allocation&quot;: 42, # Weight allocated to this segment. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group. Acceptable values are 1 to 1000, inclusive.
          &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment. This is a read-only, auto-generated field.
          &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment. This is a required field and must be less than 65 characters long.
        },
      ],
      &quot;id&quot;: &quot;A String&quot;, # ID of this audience segment group. This is a read-only, auto-generated field.
      &quot;name&quot;: &quot;A String&quot;, # Name of this audience segment group. This is a required field and must be less than 65 characters long.
    },
  ],
  &quot;billingInvoiceCode&quot;: &quot;A String&quot;, # Billing invoice code included in the Campaign Manager client billing invoices associated with the campaign.
  &quot;clickThroughUrlSuffixProperties&quot;: { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
    &quot;clickThroughUrlSuffix&quot;: &quot;A String&quot;, # Click-through URL suffix to apply to all ads in this entity&#x27;s scope. Must be less than 128 characters long.
    &quot;overrideInheritedSuffix&quot;: True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
  },
  &quot;comment&quot;: &quot;A String&quot;, # Arbitrary comments about this campaign. Must be less than 256 characters long.
  &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;creativeGroupIds&quot;: [ # List of creative group IDs that are assigned to the campaign.
    &quot;A String&quot;,
  ],
  &quot;creativeOptimizationConfiguration&quot;: { # Creative optimization settings. # Creative optimization configuration for the campaign.
    &quot;id&quot;: &quot;A String&quot;, # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
    &quot;name&quot;: &quot;A String&quot;, # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
    &quot;optimizationActivitys&quot;: [ # List of optimization activities associated with this configuration.
      { # Creative optimization activity.
        &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID of this optimization activity. This is a required field.
        &quot;floodlightActivityIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
          &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
          &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
          &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
          &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
          &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
          &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
        },
        &quot;weight&quot;: 42, # Weight associated with this optimization. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities. Value must be greater than or equal to 1.
      },
    ],
    &quot;optimizationModel&quot;: &quot;A String&quot;, # Optimization model for this configuration.
  },
  &quot;defaultClickThroughEventTagProperties&quot;: { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign&#x27;s setting further. # Click-through event tag ID override properties for this campaign.
    &quot;defaultClickThroughEventTagId&quot;: &quot;A String&quot;, # ID of the click-through event tag to apply to all ads in this entity&#x27;s scope.
    &quot;overrideInheritedEventTag&quot;: True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
  },
  &quot;defaultLandingPageId&quot;: &quot;A String&quot;, # The default landing page ID for this campaign.
  &quot;endDate&quot;: &quot;A String&quot;,
  &quot;eventTagOverrides&quot;: [ # Overrides that can be used to activate or deactivate advertiser event tags.
    { # Event tag override information.
      &quot;enabled&quot;: True or False, # Whether this override is enabled.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag override. This is a read-only, auto-generated field.
    },
  ],
  &quot;externalId&quot;: &quot;A String&quot;, # External ID for this campaign.
  &quot;id&quot;: &quot;A String&quot;, # ID of this campaign. This is a read-only auto-generated field.
  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#campaign&quot;.
  &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
    &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
  },
  &quot;name&quot;: &quot;A String&quot;, # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
  &quot;nielsenOcrEnabled&quot;: True or False, # Whether Nielsen reports are enabled for this campaign.
  &quot;startDate&quot;: &quot;A String&quot;,
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this campaign. This is a read-only field that can be left blank.
  &quot;traffickerEmails&quot;: [ # Campaign trafficker contact emails.
    &quot;A String&quot;,
  ],
}</pre>
</div>

</body></html>